const express = require('express')
const router = express.Router()

// 导入用户路由处理函数对应的模块
const atte = require('../../router_handler/attendances')
const { auth } = require('../../utils')
// 获取列表
router.get('/', auth, atte.getList)
// 更新信息
router.put('/:id', auth, atte.putById)
// 签到
router.post('/signIn', auth, atte.signIn)

module.exports = router